package com.yylany.vo;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Description: 网站快报结果集
 *
 * @author <a href="mailto:17777502615@163.com">yaoyonglong</a>
 * @date 2018/12/19
 * @since 1.0.0
 */
@Data
@NoArgsConstructor
public class NewsResult extends  BaseResult{
    /**
     * 数量
     */
    private Integer total;

    /**
     * 新闻信息
     */
    private Object data;

    public NewsResult(Integer errno, String errmsg, Integer total, Object data) {
        super(errno, errmsg);
        this.total = total;
        this.data = data;
    }
}
